﻿<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/meta.jsp"%>
<%@ include file="/common/content.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>用户信息管理</title>
	</head>
	<body>
 	 <table class="listTable2">
			<tr>
				<td width="20px">
					<img src="${ctx}/image/jwc/tb.gif" width="16" height="16" />
				</td>
				<td width="90%">
					<span class="color:#000">当前位置</span>：[用户管理 - 用户管理 - 查看用户信息 ]
				</td>
				<td>
					<input type="button" value="返回" onclick="history.back()"/>
				</td>
			</tr>
		</table>
	  <table align="center" class="listTable3" width="90%">
			<tr>
				<td class="pn-flabel" width="100px">用户名</td><td>${tusers.loginName}</td>
			</tr>
			<tr>
				<td class="pn-flabel">真实名字</td><td>${tusers.name}</td>
			</tr>
			<!-- <tr>
				<td class="pn-flabel">性别</td><td>
				<c:if test="${tusers.sex==1}">男</c:if>
				<c:if test="${tusers.sex==0}">女</c:if>
				<c:if test="${tusers.sex!=0 and tusers.sex!=1}">未知</c:if>
				</td>
			</tr> -->
			<tr>
				<td class="pn-flabel">地区</td><td>${tusers.workunit}</td>
			</tr>
			<tr>
				<td class="pn-flabel">工作单位</td><td>${tusers.workunit}</td>
			</tr>
			
			<tr>
				<td class="pn-flabel">地址</td><td>${tusers.address}</td>
			</tr>
			<tr>
				<td class="pn-flabel">联系电话</td><td>${tusers.workphone}</td>
			</tr>
			<tr>
				<td class="pn-flabel">传真号码</td><td>${tusers.fax}</td>
			</tr>
			<tr>
				<td class="pn-flabel">联系E-mail</td><td>${tusers.email}</td>
			</tr>
			<tr>
				<td class="pn-flabel">移动电话</td><td>${tusers.mobile}</td>
			</tr>
			<tr>
				<td class="pn-flabel">编辑时间</td>
				<td>
					<fmt:formatDate value="${tusers.edittime}" 
					pattern="yyyy-MM-dd"/>
				</td>
			</tr>
			<tr>
				<td class="pn-flabel">角色</td>
				<td>
					<c:forEach var="usersRolesList" items="${usersRolesList}">
						${usersRolesList.roles.name}&nbsp;&nbsp;
					</c:forEach>
				</td>
			</tr>
			<tr>
				<td class="pn-flabel">状态</td>
				<td>
					<c:if test="${tusers.state == 1}">已启用</c:if>
					<c:if test="${tusers.state == 0}"><font color="red">已停用</font></c:if>
				</td>
			</tr>
	 	</table>
	</body>
</html>

